using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

namespace WindowsFormsApplication1
{
    public partial class rptGiaychungnhan : DevExpress.XtraReports.UI.XtraReport
    {
        public rptGiaychungnhan()
        {
            InitializeComponent();
        }

        public void BindData()
        {
            colHoten.DataBindings.Add("Text", DataSource, "Hoten");
            colMSSV.DataBindings.Add("Text", DataSource, "MasvID");
            colNgaysinh.DataBindings.Add("Text", DataSource, "Ngaysinh", "{0:MM/dd/yyyy}");
            ColNoiSinh.DataBindings.Add("Text", DataSource, "Noisinh");
            colNganh.DataBindings.Add("Text", DataSource, "Tennganh");
            colLophoc.DataBindings.Add("Text", DataSource, "MalopID");
            colNam.DataBindings.Add("Text", DataSource, "Namvaohoc");
            
        }

    }
}
